<extend name="template/base_top" />
<block name="area_header">

</block>
<block name="area_body">
    <style type="text/css">

        .manage-box {
            margin-top:15px;
            background:white !important;
            padding-bottom: 10px;
            margin-bottom: 40px;
        }
        .manage-box tr{
            width:100%;
        }
        .manage-box td{
            width:33%;
            text-align: center;
            border:solid #cecece; border-width:0px 1px 1px 0px;
        }
        .manage-box td span {
            display: block;
            margin-bottom: 10px;
            font-size: 14px;
        }
        .manage-box td img {
            width:100%;
            padding:42px;
            padding-top:10px;
            padding-bottom: 0;
        }

    </style>


    <table class="manage-box">
        <tr>
            <td><a href="{:U('UserCenter/stored_value')}"><div><img src="__IMG__/chuzhi.png"></div><span>储值</span></a></td>
            <td><a href="{:U('UserCenter/apply_money')}"><div><img src="__IMG__/tixian.png"></div><span>提现</span></a></td>
            <td><a href="{:U('UserCenter/integral_detail')}"><div><img src="__IMG__/jf.png"></div><span>积分详情</span></a></td>
        </tr>
        <tr style="width:100%">
            <td><a href="{:U('ShoppingCart/index')}"><div><img src="__IMG__/gouwuche.png"></div><span>购物车</span></a></td>
            <td><a href="{:U('UserCenter/spread_code')}"><div><img src="__IMG__/tuiguang.png"></div><span>我的推广</span></a></td>
            <td><a href="{:U('UserCenter/my_junior')}"><div><img src="__IMG__/tuijian.png"></div><span>我的推荐</span></a></td>
        </tr>
        <tr style="width:100%">
            <td>
                <if condition="$flag eq 1">
                    <a href="{:U('UserCenter/fill_in')}"><div><img src="__IMG__/tianxie.png"></div><span>填写邀请码</span></a>
                    <else/>
                    <a href="{:U('UserCenter/invite_vip')}"><div><img src="__IMG__/yaoqinghan.png"></div><span>邀请码</span></a>
                </if>
            </td>
            <td><a href="{:U('UserCenter/vip_equity')}"><div><img src="__IMG__/quanyi.png"></div><span>权益中心</span></a></td>
            <td><a href="{:U('UserCenter/addre_manage')}"><div><img src="__IMG__/shouhuodizhi.png"></div><span>地址管理</span></a></td>
        </tr>
    </table>
</block>
